﻿<?xml version="1.0" encoding="UTF-8"?>
<customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui" onLoad="Ribbon_Load">
	<commands>
		<command idMso="TabHelp" enabled="false"/>

		<command idMso="ApplicationOptionsDialog" enabled="false"/>
		<command idMso="FileExit" enabled="false" />
	</commands>

	<ribbon startFromScratch="true">
		<tabs>
			<!-- HOME -->
			<tab id="MyCustomHomeTab" label="Home" insertAfterMso="TabHome">
				<group idMso="GroupFont" />
				<group idMso="GroupParagraph" />
				<group idMso="GroupStyles" />
			</tab>

			<!-- INSERT -->
			<tab id="MyCustomInsertTab" label="Insert" insertAfterMso="TabInsert">
				<group idMso="GroupInsertPages" />
				<group idMso="GroupInsertTables" />
				<group idMso="GroupInsertIllustrations" />
				<group idMso="GroupHeaderFooter" />
				<group idMso="GroupInsertText" />
				<group idMso="GroupInsertSymbols" />
				<group idMso="GroupComments" />
			</tab>

			<!-- PAGE LAYOUT -->
			<tab id="MyCustomPageLayoutTab" label="Page Layout" insertAfterMso="TabPageLayoutWord">
				<group idMso="GroupThemesWord" />
				<group idMso="GroupPageLayoutSetup" />
				<group idMso="GroupPageBackground" />
				<group idMso="GroupParagraphLayout" />
				<group idMso="GroupArrange" />
			</tab>

			<!-- PROJECT -->
			<tab id="MyCustomProjectTab" label="Project" insertAfterMso="TabDeveloper">
				<group id="GroupProjectVisual" label="Visual Studio">
					<menu id="MenuNewVisualProject" label="New" tag="VisualStudio" getImage="GetImage" size="large">
						<button id="NewProjectAppConsole" label="Console Project" />
						<button id="NewProjectAppWindows" label="Windows Project" />
					</menu>
				</group>
				<group id="GroupProjectBuildRun" label="Build &amp;&amp; Run">
					<menu id="MenuRunProject" label="Run" tag="Run" getImage="GetImage" size="large">
						<button id="RunActiveProject" label="Run Active Project" onAction="OnAction" />
					</menu>
				</group>
				<group id="GroupProjectDeveloper" label="Developer">
					<menu id="MenuCompileCode" label="Compile" tag="Compile" getImage="GetImage" size="large">
						<button id="CompileActiveCode" label="Compile Active Code" onAction="OnAction" />
					</menu>
				</group>
				<group id="GroupProjectSamples" label="Samples">
					<menu id="MenuLoadSample" label="Load" tag="Sample" getImage="GetImage" size="large">
						<button id="LoadSampleBasicMaths" label="Basic Maths Sample" onAction="OnAction" />
					</menu>
				</group>
			</tab>
		</tabs>
	</ribbon>

	<backstage>
		<button idMso="FileSave" visible="false" />
		<button idMso="FileSaveAs" visible="false" />
		<button idMso="FileOpen" visible="false" />
		<button idMso="FileClose" visible="false" />

		<button idMso="ApplicationOptionsDialog" visible="false" />

		<button idMso="FileExit" visible="false" />

		<tab idMso="TabInfo" visible="false" />
		<tab idMso="TabRecent" visible="false" />
		<tab idMso="TabNew" visible="false" />
		<tab idMso="TabPrint" visible="false" />
		<tab idMso="TabShare" visible="false" />
		<tab idMso="TabHelp" visible="false" />

		<button id="ImportData1" label="Import Data" tag="ImportData" getImage="GetImage" />
		<button id="ExportData1" label="Export Data" tag="ExportData" getImage="GetImage" />

		<tab id="Backup" label="Backup">
			<firstColumn>
				<group id="BackupGroup" label="Backup">
					<topItems>
						<button id="ImportData2" label="Import Data" tag="ImportData" getImage="GetImage" style="large" />
						<button id="ExportData2" label="Export Data" tag="ExportData" getImage="GetImage" style="large" />
					</topItems>
				</group>
			</firstColumn>
		</tab>
	</backstage>

</customUI>